package com.macken.zjh;

import com.badlogic.gdx.Gdx;

public class Stats {

	public static Stats instance = new Stats();

	private Stats() {

	}

	public float W_RATIO = (float) Gdx.graphics.getWidth() / Zjh.WIDTH;
	public float H_RATIO = (float) Gdx.graphics.getHeight() / Zjh.HEIGHT;

	public int convertWidth(int width) {
		return (int) (width * W_RATIO);
	}

	public int convertHeight(int height) {
		return (int) (height * H_RATIO);
	}

}
